
package com.haarman.listviewanimations.animationinexamples;

import android.os.Bundle;
import android.widget.BaseAdapter;

import com.haarman.listviewanimations.MyListActivity;
import com.haarman.listviewanimations.adapter.prepared.SwingRightInAnimationAdapter;

public class SwingRightInActivity extends MyListActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		BaseAdapter mAdapter = createListAdapter();

		SwingRightInAnimationAdapter swingRightInAnimationAdapter = new SwingRightInAnimationAdapter(mAdapter);
		swingRightInAnimationAdapter.setListView(getListView());

		getListView().setAdapter(swingRightInAnimationAdapter);
	}
}